package com.ccb.sc.common.modules.member.entity;

import com.ccb.sc.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDate;

/**
 * <p>
 * 签到表
 * </p>
 *
 * @author ken
 * @since 2020-09-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_sign_in")
public class SignIn extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 会员id
     */
    @TableField("member_id")
    private Long memberId;

    /**
     * 签到日期
     */
    @TableField("sign_date")
    private LocalDate signDate;

    /**
     * 当月累计签到日期
     */
    @TableField("cumulative_days")
    private Integer cumulativeDays;


}
